//package com.hsb.seckill.config.mqConfig;
//
//import org.springframework.amqp.core.Queue;
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;
//
///**
// * rabbitmq配置类(hello模式)
// */
//@Configuration
//public class RabbitMQHelloConfig {
//
//    @Bean
//    public Queue queue(){
//        //名称、是否持久化
//        return new Queue("queue",true);
//    }
//}
